package com.sinowinlink.sw.service.employee;


import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EmployeeServiceImpl {

    @Resource
    private EmployeeMapper employeeMapper;

    public List<EmployeeDO> queryEmployeeList (QueryEmployeeDTO queryEmployeeDTO)
    {
        return employeeMapper.queryEmployeeList(queryEmployeeDTO);
    }

    public EmployeeDO queryEmployeeInfo (QueryEmployeeDTO queryEmployeeDTO) {
        return employeeMapper.queryEmployeeInfo(queryEmployeeDTO);
    }

    public Long addEmployeeInfo (EmployeeDO employeeDO) {
        return employeeMapper.addEmployeeInfo(employeeDO);
    }

    public Long updateEmployeeInfo (EmployeeDO employeeDO) {
        return employeeMapper.updateEmployeeInfo(employeeDO);
    }


}
